package vn.edu.ptithcm.pim.service;

import vn.edu.ptithcm.pim.dom.Diploma;

import java.util.List;

import vn.edu.ptithcm.pim.dao.DiplomaDao;
@SuppressWarnings({ "rawtypes" })
public class DiplomaService {
	private DiplomaDao diplomaDao;

	public DiplomaDao getDiplomaDao() {
		return diplomaDao;
	}

	public void setDiplomaDao(DiplomaDao diplomaDao) {
		this.diplomaDao = diplomaDao;
	}

	public void save(Diploma diploma) {
		diplomaDao.save(diploma);
	}

	public void saveOrUpdate(Diploma diploma) {
		diplomaDao.saveOrUpdate(diploma);
	}

	public void lock(Diploma diploma) {
		diplomaDao.lock(diploma);
	}

	public void delete(Diploma diploma) {
		diplomaDao.delete(diploma);
	}

	public Diploma merge(Diploma diploma) {
		return diplomaDao.merge(diploma);
	}

	public Diploma findById(java.lang.Long id) {
		return diplomaDao.findById(id);
	}

	public List findByExample(Diploma diploma) {
		return diplomaDao.findByExample(diploma);
	}

	public List getAll() {
		return diplomaDao.getAll();
	}

	
}
